change libmilkcat to shared library