use shared linking and install rules