Define timespec for osx.