Fix for https://github.com/robotology/codyco/issues/49