More work on Issue #303. Update the compile script to work with Django 1.7 and Python 3.4.