fix to compile on both rosbuild and catkin