[globalmenu-extension] Update version comparison script