added back unistd.h for non-windows