Tidied up library search paths, now assumes that system libraries are set up correctly.
For Debian, this means installing the following: blas-dev, fftw-dev, lapack-dev, libncurses5-dev, libkpathsea-dev, libreadline-dev
It may also be necessary to run on the relevant directories (especially Octave's).