adding handling of gl version < 2.1. Fixes #624
Merge pull request #625 from ros-visualization/fix-624

adding handling of gl version < 2.1. Fixes #624