Fix li-runtime.c fail to create runtime subdirectory