Fix shell-command-to-string error under GNU/Linux

This doesn't happen under Mac OSX.