[os_crypto] fix windows build