Add linking against boost system to examples.