Tests: Match configure log try_compile directories more precisely

Do not accept a double-quote in the `try_compile` work directory to
ensure we do not match more than the field value.
3 files changed