be robust against customisations of shell-command-switch

Fixes #25