We need -no-undefined as a link flag when building a Windows DLL,
otherwise autotools refuses to do it.