Fixes two build issues

Fixes [this issue] (https://github.com/cozy/cozy-setup/issues/101) and
Fixes [this issue] (https://github.com/dockerfiles/django-uwsgi-nginx/pull/2).