release config build fixes for windows