fix pythonWrapper for non-gnu ln