Fixed native compiling on OSX 64bit