Added lib math to linking