fix linking on systems with a function name prefix (10l in r20287)