Added CMake option OGS_USE_OPTIONAL_SUBMODULES.