fix static build
submodule rework: can dce example link with submodules