Use _stat64 on windows