Fix lambda promotion under GHC 7.8