Rework supported var calculation to avoid minification side effects.