Disable non-compiling code on OSX