Add gmath to build
Add linkm to build