Fix configure.bat

- Fix path
- Unset CL when probing for cl.exe
Add missing include

The MSVC build needs the extern "C" declaration.