Fix subdir extraction for e.g. libtuxt