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.
Merge pull request #1 from Purg/dev/fix-find-modules

Updated find module proceedures