FileDialog: add EXPORT macro

The FileDialog class is used by plugins and therefore needs to be exported
for platforms like Win32.
LADSPA/SWH: fixed compiler warnings resulting in Win32 build failure
MidiWinMM: adapted MIDI changes

Fixes build failure after recent API changes.
sfxr: fixed Win32 build

Need time.h for the time() function.