Update buildbot scripts
- pass git_mode property from scheduler.
- cmake build option.