Only build haddock-api on GHC 7.8 or higher