Fixes to make the x64 projects compilable with VS2010.