Revert "fixed compile errors on Windows 7 64 bit"

This reverts commit 94f671c14e5202db7593effcab2d8e0f18cb7bde.