Make cmdline arg parsing compatible with SWI 6.6.0