run-command.c: fix build warnings on Ubuntu