Move package searches to main CMakeLists.txt file