Fixed --test-build-eventport on macOS 10.12 and later. In macOS 10.12, CLOCK_REALTIME and clockid_t were added, but not timer_t.