compile fix for x64 windows