Changes to alloww for compiling on Windows

Only vs2012 solutions available so far.