fixes for cpp developement on windows