This replaces the build via static-haskell-nix and will hopefully make it possible to cross compile in the future.