Fixed issue with windows build