allow build_all_versions.sh to detect plugin version automatically