Loadlib fix for recent Cygwin releases