reduced compiler warnings on Windows with vc