refactoring added changes for python-kaldi-decoding with sandbox/sharedlibs