fix build script; add explicit scope to bindings