kmscapture: Clang doesn't like variable len arrays, use vector