Misc format fixes and compile fixes for TAO interface.
  -- The TAO unittest throws an assertion need to be fixed.
  -- I have used TAO version 1.2