Make it compile on Linux, and clang on OSX