Many Visual Studio fixes

- Make project files compile in VS2010, 2012, 2013
- Make Release configuration works
- Add x64 platform