Many Visual Studio fixes

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