FIxes for Win32 and older versions of GHC