Rework Makefile

Try to fix linking issue on travis-ci, need '-lm' to appear
after our asup object.