Fix flatpak builds
Packages to be installed into flatpaks are built with the /app prefix
but build-only dependencies use the system packages in /usr. Since ghc
falls into the latter category, installation path macros must not be
used to reference their installed location.