Add support for 64-bit builds on Mac