-build regression fix for windows