Add a couple #ifndef's for some dynamic-only code. My previous commit broke the static case.  :-(
Add a couple #ifndef's for some dynamic-only code.
My previous commit broke the static case.  :-(

zcth428/hpctoolkit,zcth428/hpctoolkit,HPCToolkit/hpctoolkit,zcth428/hpctoolkit,HPCToolkit/hpctoolkit,zcth428/hpctoolkit111,HPCToolkit/hpctoolkit,HPCToolkit/hpctoolkit,zcth428/hpctoolkit111,zcth428/hpctoolkit111,HPCToolkit/hpctoolkit,zcth428/hpctoolkit111,zcth428/hpctoolkit,zcth428/hpctoolkit,zcth428/hpctoolkit111,HPCToolkit/hpctoolkit