Fix OSX compilation

Summary: runtime_ext CMakeLists needs to exclude hardware counters on
!Linux platforms.

Reviewed By: @sgolemon