clean up c deps