patch applied (cabal): Split nhc and hugs's build action into buildLib and buildExe