Fixed plugin build, version generation