fixes to speed up heroku pushes: recognize when icu and libmagic have already been built and used the already built libs.