fix aplogd build error