Added support for VS 12 compiler