Add dependency on math library.