Remove warning due to API change.
Updating for deprecated API after gazebo 1.5.0