Fixing some old code so the project builds

Author lhunker