Cleaning up c libraries and insert new ones.