Adapt to kpmcore API changes std::array->std::vector.

Authored by stikonas on Apr 5 2018, 8:54 PM.