Fixed support for vs2012