fix exception message if lib not installed.