Add -lm and place linked libraries after object on gcc cmdline.
Merge pull request #15 from ferrouswheel/master

Add -lm and place linked libraries after object on gcc cmdline.