Added find_package threads to CMakeLists.txt
(might resolve that debian package problem)