allow building with vc++