Fixed compilation of test2.scm

The issue was that freeVars cannot discard symbols that are not loaded as variables, because this also discards symbols that originate as lambda parameters. This will probably end up breaking something else, though...