Fix mingw-serd build