Create relative paths for compiler_commands.json

The thing is that even for the same directory, it is unlikely that the compilation commands are going to be exactly the same anyways (at least that is certainly true for many projects I’ve worked on). External dependency paths are certainly not going to be the same I imagine (different Linux distros, macOS, Windows, etc.).