I attach the patch that solves all the compilation issues since there were more. See Ticket URL: https://code.ros.org/trac/ros-pkg/ticket/4641