Fix incorrect include for mbedtls and version checking