Fixed linked function names on OS X