Before this changeset, the shared library objects suffixes
were both (rustc output and Python input) hardcoded to '.so',
which is wrong for Python3 and non Linux targets.
Also, MacOSX needs special link flags, as stated in
the README of rust-cpython.