build file supports mobile demo
permissive treatment of 1-elem arrays was broken