Clean up shared lib support.