fix to link math library
Merge pull request #26 from cad-san/fix-link-error-with-ubuntu

fix to link math library