libhid: fix compilation error on MacOS X 10.9

ld: library not found for -lIOKit

Closes #25607.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>