Added missing include. MSVC complained about not finding std::min(), Change-Id: If0a1eb77fa2988cabf26da4a49bf018e34a38b9c