Added missing packages and an apt-get update.
Fixed build script.