Missing boost-system library for c++ examples

Compiling the c++ examples files on ubuntu 14.04 requires linking to the boost system library.