fixed string indexing. closes 96

Fixes `gl-rs` after a breaking rustc change to string indexing.