Fixed error messages in CMakeLists.txt

Right now, cmake complains about missing libtool when it is missing libltdl-dev. Fixed this.