Fix corePrepPgm type error in Main with GHC 7.4.