strip out unused bootstrap libraries