Make _LIB_VERSION a weak symbol

That way it can live alongside _LIB_VERSION in libieee.a for
statically compiled programs.

Resolves #14582.