* [core]: fix some missing stat macros on _WIN32