Updated find module proceedures

CMake update affected the way CMAKE_FIND_ROOT_PATH worked in conjuction
with the ONLY_CMAKE_FIND_ROOT_PATH in find_path/find_library functions.