adds support for compilation on vs2010