Changed builtin array to c++11 array

Signed-off-by: Ionut Radu <ihonius@gmail.com>