SONARPLUGINS-3420 fix compatibility with SQ less than 4.2