Fix incorrect use of $OSREL for unbreak on old versions.
Reported by: tdb Approved by: portmgr (linimon)