build: construct: drop unused variable

(integrated from trunk branch change 5ff1e95 by Todd Whiteman <toddw@activestate.com>)