Fix MinGW OpenMP link error.