Problem: check_symbol_exists on different sets of includes
When check_symbol_exists
is used on different sets of include files,
VARIABLE may be empty because the check has been performed on a set that
does not include a file that defines it.
Solution: store files that were checked against to compare with