Fix the order of -l flags to fix compiling libketama
Apparently ALL -lm flags had to be set to a different place for it to compile properly
Merge pull request #6 from vanjos/master

Apparently the order of the flags matters (in Ubuntu at least)