Fixed an error on some systems (Ubuntu 14.04) where gcc requires -lm to be the last argument to properly link math.h
Fixed an error on some systems (Ubuntu 14.04) where gcc requires -lm to be the last argument to properly link math.h

agsimeonov/jitd,agsimeonov/jitd,agsimeonov/jitd,agsimeonov/jitd,agsimeonov/jitd,agsimeonov/jitd,agsimeonov/jitd