Fix Windows build
Regenerate charmonizer.c
Add configure.bat for Windows build