Adjust for size
Add stub for gettimeofday

Requires a better solution, but works for now because
it is not needed.
Satisfies the compiler