some modifications for libcflie

That's what I've did while creating a headless client for the  Crazyflie:
https://github.com/aholler/crazyflie-client-cpp 
So why weren't you doing it everywhere? And why hogging the C++-argument so much?