Fix ubuntu build - re-add time.h and unistd.h