Fix potential `mingw32_HOST_OS` -Werror failure