Fix stat64() warnings on OSX.