Do not use C++11 std::vector.data()

std::vector.data() is a C++11 feature that makes my OSX build machine unhappy.
Merge pull request #2286 from gavinandresen/fix2285

Do not use C++11 std::vector.data()