fixed build for windows