Call into Haskell code from the ObjC main, and also link all necessary libraries.