prepare multitarget environment
fix for python2.6 and django 1.5