Typo: "src/direct_fourier_transform.hpp", should have been "src/direct_fourier_transform.cpp". Thanks to Robert Bishop.