Quick fix to address a few compatibility issues:

* Add conditional link to -lrt on platforms that need it (read: not OS X)
* Modify Tracer.h to include PAPI only if it's included on the platform (fixes build error).