build: execute ext downloading script when needed