Added const to definition of temporary arrays. This is required by GCC
> 4.7.0