Fixed thread error caused by compiler path settings.