Make compiling on OSX work.