Make lib/zipf.c a stand-alone library