remove libraries we don't need