Add check for pthread.
Implement grnxx::InternalClock.
Add a test for grnxx::InternalClock.