add g++ dependency to install script.
cleanup.sh: set permissions apt for logrotate. refs #13