compile and runtime fixes for fft feature