Generated code included assert.h twice

Change-Id: I61fcaa23e42b608f6d3e3c50f3f6495d58740c46