Fixed bug in linking fftw3