Update Lofar build scripts to handle release tags.