test: allow running shared build without installing