Jbtm 1665

Adds a commit to #429 which should resolve compilation issues on Centos5 x64

This will merge with two commits

!XTS !QA_JTS_JACORB !QA_JTA !MAIN