How to run valgrind on a CGI program in C