Include libmath in linking.