Fix build issues with examples.

Remove deprecated examples and fixing other build issues with examples.
We need to revisit all examples and update them to use the latest coding
styles.

Change-Id: If71ec85769a74f2345a54842ecf9b301d24e4cb3
Merge topic 'lookup_table_cleanup' into next

5011992e Fix build issues with examples.