Update CMakeLists.txt

Add libgif.so.6