fix building with vc2008 or former