cmake: Fix git submodule init problem on some systems
Merge pull request #147 from lclc/gitSubmoduleFix

cmake: Fix git submodule init problem on some systems