Merge "configure: detect toolchain if not specified"