modify build scripts to work for vs2012 and vs2010
check for vs2012 first
Merge pull request #181 from adobe/jrb/vs-2012

Modify build scripts to work for vs2012 and vs2010