Fix timeval()