Fix compilation issues

Hi @wmeissner this PR might fix compilation issues at ffi examples.