Significant simplification of shared_library