[env] Fix use of wrong binding for build script.
[dylan] Fix warning from |Agent's change.