Revert "Workaround for int/char conversion on Windows."

This reverts commit 93bc6c0b7f9ebbe5e799b2098e5b90609a816b44.

Sorry MrHen, but that does not them to be a good way. Ill try something else.
this should probably fix the issue with the windows getopt port... for now