libtime: fix build on Mac OS X

Signed-off-by: Steven Noonan <steven@uplinklabs.net>