Fix building of codec_resample on platforms other then Cygwin. On everything else...