fix default lib/load path
It is necessary to execute the SetCacheDir before InitData.