Throw more specific errors from find_package