Mingw32 tools were causing problems so went back to the latest cygwin tools and libs