fix new clock code for yarp-without-ace users [thanks @elen4]