Wining, and compiling for VS2010 fixed