Fix compilation on Windows

There are still a bunch of warning that we should remove.
diff --git a/src/backend/common/CommandAllocator.cpp b/src/backend/common/CommandAllocator.cpp
index 0526e10..e53ca0d 100644
--- a/src/backend/common/CommandAllocator.cpp
+++ b/src/backend/common/CommandAllocator.cpp
@@ -16,6 +16,7 @@
 
 #include "Math.h"
 
+#include <algorithm>
 #include <cassert>
 #include <climits>
 #include <cstdlib>