Update build system for ubuntu x bbb.
Update build system for ubuntu x bbb.

Update the build system to get ubuntu x bbb compiling again.

Testing:
  ubuntu x bbb - debug build compiles, runs on bbb.
  ubuntu - debug build passes tests, memory profiling is different from
           baseline as expected.

bjandre/embedded-software-essentials,bjandre/embedded-software-essentials,bjandre/embedded-software-essentials