Fix building system: correct libltdl check for advise capability.