fftw.cpp: fix some compile errors