Compiling dgate just for CGI use.