Fixing build after XA Test

The JMS Testsuite still need the TM for some tests, not having a TM would break compilation on the JMS Test