[s1905] Add support for VS2012 building.

[ci skip] for make travis happy ;)

(based on commit 3c73ecc)
(based on commit 6f97021)
(based on commit 3c9fca4)