Added a few includes for unistd.h which caused compilation problems on manjaro (arch-based linux distro)