Set the math lib in a variable

Change-Id: I1c79eade133f2d4fd29c7b6f6febcd29b0f736a4