Fix in FindFFTW.cmake so it works if you don't have the threads library.