Needed changes to compile with OpenEmbedded

Heyho,

Some fixes I had to do to compile db8 succesfully with OpenEmbedded. Tell me if you need more information or better explanation.

regards,
Simon