- add missing implementation for OnceType and InitOnce for windows port