include unistd.h for Linux compile