Fix test of stropt default
Fix crash if an unsupported CPL release is used