add visual studio support

for vs2012