Added x64 support for OSX.