update build tools to support new function