Win32 configure.js is missing support for the with-profiler switch
The Win32 configure.js script doesn't support the with-profiler switch, so it creates an xsltconfig.h that contains:
#if @WITH_PROFILER@
which breaks the MSVC preprocessor.
I've attached a patch file with the necessary changes, based on the equivalent code for the with-debugger switch.