Support legacy runtime for linux.