Fixed the NPE issue with instantiating TransactionMonitor with inheritab...

...le attributes passed into constructor.  Also fixed the build script to set the targetCompatibility in the proper place