Fix for Cygwin builds.
More Contiki fixes.