added semaphore.h file, compiles now