autotools: Fix compilation of the examples.