Allow building without examples

Signed-off-by: Luca Ottaviano <lottaviano@develer.com>