Add necessary semaphore/fcntl includes to system_sema.h.  Add c++98/c++11 checking to auto/unique ptrs in gff_stream.h