fixed Windows 64 bit compilation