Log Message: Fix (at least) artsd on -current. The s/mcop_mt/mcop/ hack that worked with pth doesn't work in -current. Make libmcop_mt build with pre-current and pth by providing sem_* calls based on a mutex and a condition variable.