support for g++ build of minlin lanczos implementation