Fix a link error

"-lm" was missing.