Ignore /build even if it’s a symlink, but only at top-level.

CC @alexcrichton
Closes #14545