Revert "flop back to powf() for TF invert"

This reverts commit a7974d9f65a55e8796d491b7b1841aa41391d373.

Reason for revert: Nevermind.

Original change's description:
> flop back to powf() for TF invert
> 
> Seems to remove my diffs (however weird) locally.
> 
> Change-Id: Ic32d22858b83c1d70aaa38d22669342b7f3aeb24
> Reviewed-on: https://skia-review.googlesource.com/118982
> Commit-Queue: Brian Osman <brianosman@google.com>
> Reviewed-by: Brian Osman <brianosman@google.com>

TBR=mtklein@chromium.org,brianosman@google.com

Change-Id: Id9af3aa2a7ebd0eedf494b71d3055f09fd65663c
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/119000
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
diff --git a/build/common b/build/common
index a632993..0acdddf 100644
--- a/build/common
+++ b/build/common
@@ -9,7 +9,7 @@
     description = compile $out
 
 rule link
-    command = $disabled && touch $out || $cc $ldflags $extra_ldflags -lm -pthread $in -o $out
+    command = $disabled && touch $out || $cc $ldflags $extra_ldflags -pthread $in -o $out
     description = link $out
 
 include build/targets
diff --git a/src/TransferFunction.c b/src/TransferFunction.c
index c871f86..c76d094 100644
--- a/src/TransferFunction.c
+++ b/src/TransferFunction.c
@@ -11,7 +11,6 @@
 #include "PortableMath.h"
 #include "TransferFunction.h"
 #include <assert.h>
-#include <math.h>
 #include <string.h>
 
 // Enable to do thorough logging of the nonlinear regression to stderr
@@ -419,7 +418,7 @@
     // Invert nonlinear segment
     if (has_nonlinear) {
         fn_inv.g = 1.0f / src->g;
-        fn_inv.a = powf(1.0f / src->a, src->g);
+        fn_inv.a = powf_(1.0f / src->a, src->g);
         fn_inv.b = -fn_inv.a * src->e;
         fn_inv.e = -src->b / src->a;
     }