CP-4731: build using the git sm repo

This patch fixes the build system to use the git based sm repository
instead of the mercurial one.