Fixed gcc issue with not including <algorithm> when using std::find