fix some more compatibility issues with Vs2012