Added required unistd.h include for RedHat 7.x.