"Fix build script and Windows issues"