add -g compiler flag if --enable-debug is used for configure
exit if title not found on search page