rewrote script extension builder into node
cleanup
Merge pull request #260 from shackbarth/buildex

issue #20041: build extensions dynamically