fix building server with msvc2012