Add old-build-version sanity check

Change-Id: I660c0ad197595d8e2877cd1f81d8e7fb7cb50134