building c++ part on windows, Debug build type works