Add CMake file for the thrift compiler
Get thrift version from configure.ac for CMake build
Allow cross build for windows using mingw32

- Build the compiler using CMake for:
  - Linux native gcc
  - Windows using mingw32
THRIFT-2571 Simplify cross compilation using CMake
Patch: Pascal Bach

    This closes #137

----