Fix build error due to introduce of direct.c.