fix building with vc2008 or lower