Port to Mavericks.
Fix types for struct timespec.
Fix types for struct timespec.
Merge pull request #15 from gwtnb/mavericks

Port to Mavericks.