Fix for missing clock_gettime on Max OS X. Fix for tests if SGP4 is not enabled.