std: fix win32 build error in os::env()