Shared GHC libraries and the runtime system