64bit Win fixes

Also, rebuild the debug version by default