made build_type work with Visual Studio.