changes to build for windows compile