fixed cli vs cgi lib.inc includes