It's not really an either/or. Most classical liberals were in favor both of freedoms in general and modest social safety nets. When Adam Smith, Thomas Jefferson, etc., were railing against government, it was against the police-state style of government on the one hand, and distorting interventions into the economy like mercantilism on the other hand. They weren't against government using tax revenue to produce public goods, like roads, bridges, ferries, public fountains, orphanages, public schools, etc.
Unix is the worst operating system; except for all others. -- Berry Kercheval