Change how we delete the semaphores to be more FreeBSD friendly.