test compiling on OSX