Remove all Windows dllimport/dllexport stuff

I don’t really know what it is needed for, but it was breaking my MingW
builds and disabling it seems not to break anything, besides it was
quite invasive and have always annoyed me.