Add possibility to build without submodule.