Minor warning fix and added boost dependency.