Fix shared builds with MinGW

Otherwise, only the VapourSynth symbols get exported.