Ensured that LDFLAGS contains -lrt on Linux platforms.
Implemented the posix::unnamed_semaphore class.