Add -lm to linker
Merge pull request #3 from vmx/fix-build

Add -lm to linker