[12370] Add support for VS2012 building.

[no ci] for make travis happy ;)