Changed execv() to execvp(). Note that execvpe() is a GNU extension, so we will stay away from that.