FOSS:  Fixing CI build.

  - Adding thrift from source build script
  - Adding custom config for CI
  - CI tests validity for java in local mode.

Change-Id: I501891e923ef00b073612ab0fce6fdd90fe228f9
Removing typedef

Change-Id: I2660fc385ba6c77abf84db6e605b6a428d340095