support for xcode 5.1 and 64 bit build