Add patch for git submodule version. Fixing issue #612