[Git][ghc/ghc][master] Fix linking against libm by moving the -lm option