Pass MATHX_LIB by reference

The previous code is considered a syntax error by recent rustc builds.