fix Visual Studio 2013 compile problem