recompile shared lib