put a #ifdef FPGA guard around <unistd.h> to get rid of conflict with size_t in cl.hpp