Improve error message when lib not found