Fixed socket lib compiling in gcc.  Semaphore.h renamed to Samphore.hh