Fix compilation bugs for online-python-decode
make test online-python-gmm success. real test->seg fault

The reason is that the real test does not use the decode method at all