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.
Merge pull request #2 from tmakatos/CP-4731

CP-4731: build using the git sm repo