add install target and find_package support to cmake file