fixed 64-bit mac build