Minor compatibility tweaks

The first patch changes VarDecl::getFirstDecl to VarDecl::getCanonicalDecl. The second is a minor patch needed when building C-Reduce with the Homebrew package manager which uses symlinks to "install" packages.