ape.exe: Fix commandline arg parsing for SWI 6.6.0