Add libm to linker.