IMU: Trying to get it to compile but not easy mixing c/c++