fix build with --enable-eot

Change-Id: Ia4e5f3d5a47ff88e318d930261efdc90e08cde50