demux_avs compilation should depend on WIN32DLL support, not a linker flag.