Only define timer interrupt handlers when associated timer index is also defined. Fixes compile time errors when TARGET is not default.