fix array append

Minor mistake prevents compiling master branch on arm