Fixing compatibility with VS2010