@modaltb thank you for your answer.
For so far I can see my program is the same. I'll take some more indepth look when I'm at work again.
Is there some .so file I've got to include in my cmakelist?
I've already tried every possible combination that's out there. Hope we can fix this soon.