Merge pull request #323 from mithro/fix-make-submodule

Fix the cloning of library submodules