Fix warning from CMake and add KDevelop's stuff to gitignore