fix httpd detection