[GHC] #8291: unloadObj doesn't work on Mac OS X