fixed udt time clock calculation on linux