make: use correct variable to find root

fixes the symbols-in-versions build