'run_tests.sh --compilemessages' requires gettext.

When I ran 'run_tests.sh --compilemessages', I got error and this commit fixes it.