Fixes to make MathicGB compile on GCC 4.5.3 on Cygwin.