Add clock() to libc.