ibrcommon: Fix platform issues in MonotonicClock
ibrcommon: Add missing header