Fix --enable-win32-service compile errors
Windows: remove alternative main()

As a side effect this causes Windows builds to use the wrapper function
for handling exceptions.