Fixed static windows build