Changed cmake modules. Now downloaded devel packages detected correctly