put -lm last