Fix Python C++ implementation build issues:
  1. Haven't included the include path for "config.h".
  2. Use of C++11 auto keyword.
Merge pull request #105 from xfxyjwf/fix_92

Fix Python C++ implementation build issues