Solve the crash in sample project HelloPlugins.