Missing sys/stat.h, from James Turner