added the shared library removal bash for mysemaphore