Install libm
Fix an incorrect path when configuring ghc