Use "!defined(__GNUC__)" instead of "defined(_MSC_VER)"

Because fstat uses the condition.