Add missing tmp directory and manage authorization in install.sh
Fix Makefile