new lookup for mounted tombs fully adopted

now tomb close looks up bind hooks correctly

this commit includes backward compatibility fix for Debian 6