Add cmake and build-essential to Ubuntu cheat sheet

Following the Ubuntu cheat sheet fails unless these two are also installed.
Disable -Wvariadic-macros to avoid streams of warnings

With GCC 4.8, -Wall warns about every use of fn(...) saying
"warning: anonymous variadic macros were introduced in C99"
Adding -Wno-variadic-macros disables this.