Fix "error: variable length array of non-POD element type"