Added fix for compiling yarp wholeBodyInterface on old versions of GCC (before 4.7)