superbuild: resolve the top-level dir properly

If the superbuild is built through a symlink, the '..' resolution may be
wrong. Instead, get the fully-qualified path to the superbuild then
compute the parent from that.

-------

Me and my weird setups :) .