fix incorrect clock tick scaling in fallback case of clock()