Attemp to fix the Issue #960, for GSoC

The commit fixes *"examples/undocumented/python_modular/regression_libsvr_modular.py"* which caused a generator.py stuck. 
The problem is caused by a illegal "libSVR" function call.