Patched x264 so that it will compile in Debug mode.
Fixed VS project x64 build.
Changed VS solution to VS2012.