fix the app include lib error and modify the plugins path.