Don't use std::vector::data()

It is a C++11 only function.

Reported by Eelco.

No functional change.
Merge pull request #7 from mcostalba/master

update branch