VS: disable deprecation warnings