Changed dependencies for Semaphore

Change-Id: Ia326cc036d794312202f0e9c5283430cf33e3318