Allow PLAY_VERSION to be set from command line when building (#1371 backport)