Add 'use experimental smartmatch' for 5.18+