Add missing library for Debian distro.
Add "detect" cases.