Fix error with extra_link_args in Python API.