fix for visual c++ 12