fix linking of python.input to python lib on linux