It's called "GNU Make", not "gnumake"

Change-Id: I54900e077d5325fb6bfad84a2afa37f3adf551bb
Include <algorithm> for std::min

Change-Id: I012027c38a6d2b06a4bb0cb53743d350b124ccf4