Honor the --with-${library}=path for AST_EXT_TOOL_CHECK