Optimise the build on Linux and OS X (as well as using LLVM/Clang).