Add GetProgramVersionString function (originally from Globals unit).