add script to build newlib; if local newlib present, use it