First step towards porting MasterBuilder under Linux.

- Added CMake project.
- #ifdef'ed Grand Central Dispatch (no alternative implemented though).
- Updated generated protobuf code (out of necessity, this can be ignored).