Fix default-command problem on non-Mac OS