Use sys/stat.h instead of stdlib.h