add better sanity checks for FFTW/2.1.5 builds

Signed-off-by: Fotis Georgatos <fotis.georgatos@uni.lu>