fix thirdparty windows build