Fixed the crash handler startup on Windows.
Additional fix to remove g++ warnings.