Reworked configuration testing to look at both openjp2 and openjpeg.