Code changes to get VLC working on Windows. This breaks VLC on Mac.