applying patch

call c functions from evaluator
shared lib