Fix Linux build of tests
* src/common_indep.c: Include wchar.h * src/cpphelp.cpp (in_de_vs_mode): use strcasecm (get_registry_subkeys): Make conditional. * src/cpphelp.h: Update accordinlgy. * src/debug.cpp: Fix unused errors and do locking. * src/parsecontroller.cpp (ParseController::parse): Remove unused warning. * tests/Makefile.am: Add definitions for linux