get rid of extra libs