bugfix for windows build.