allow BNavMenu to traverse symlinks

* Patch by stpere
* Fixes #6780.