Add support for VC12 compiler
Workarounds for VC12 bugs
Add a cmake script to generate VC12 solution and project files for x264