mimic node argv, second fix for #569