Changed static assertion that checks array size

to a more standard way. This avoids an obscure error involving `extension::std_array_size<Array>`