Fix compile problems with TAO BiDIR interop test

Set of changes to compile the TAO BiDIR interop test that is part of the JacORB distribution