Swap imports around to get GHC.ForeignPtr out of the base knot