cmake: if used as submodule, don't install .lib