Added unistd.h dependency for linux