add UseCThreads directive for linux project demo