Exact zero modes in frustrated spin chains