p2nfft: add check for GSL headers