Fixed mac 32-bit compilation