updated build process for non-django version