Build examples with RTTI

Change-Id: I574ce207384e084c8b65cd66114e47e01cd4f42a
Reviewed-by: Zeno Albisser <zeno.albisser@digia.com>