Modernize FindThreads.cmake