Fix installation script
Add compatibility with Django 1.5 custom user models