fix win7 build