Updated build script with a (temporary) fix for wxlua issue (mingw32).
Updated build script on Windows to enable debugging (ref #164).