fix for windows builds