shared libs support