Add math library back in because of nodefaultlibs. Also move the nodefau...

...ltlibs flag earlier so its more clear.

Change-Id: I8e189f86af352b49d1b8c34a97741a5915c30e8b