added -y flags to apt-get install commands; added build-essential