Make builder script more extensible.