Support darwin linker options:
-current_version, -compatibility_version, and -install_name.

Patch by Joe Ranieri