Made the project compilable on OSX.