Windows Visual Studio 12 build fix

Windows Visual Studio 12 build fix