Fixed crash on windows
Updated VS2010 solution