Include sys/types.h in HsDirectory.h; fixes trac #3653