Added support for OSX (64bit).