put linker -lm globally