Fix libm missing link error by adding -lm
Merge pull request #7 from panovr/master

Fix libm missing link error by adding -lm