Small build system fixes; need to re-enable lanczos algorithm