Replace preferred_dependency with default_subspec