Possible fix for polylines on Linux and Android.
Merge pull request #706 from AnalyticalGraphicsInc/polylines

Possible fix for polylines on Linux and Android.