Fix problems building Speex when building the simulator on Cygwin.