fixed ext's plugin build scripts