Set SCons build file work with python-mode.
Add puppet mode support.