fix compile error on Indigo

This patch will fix compiling issue related to Indigo (see http://wiki.ros.org/indigo/Migration). Obviously this should happen in a new indigo-devel branch.