Simpler version of get_time_since_epoch() for mac