cmake: restore find_package() for build directory