fixing strange issue with SWIG and CasADi namespace