configure: Fix error messages around Mbed TLS