add openmax.c and pathalloc.c