Made the VS2010 projects compile