fix for spaces in windows path and build problems on windows