Fix MinGW build with CONFIG_EAP_TNC=y