Tweak Win32 build

Use an export definition file to avoid generation of unnecessary
output by the linker.

Deleted some obsolete files.