Fix build with boost 1.87; from FreeBSD

Index: components/bsa/bsa_file.cpp
--- components/bsa/bsa_file.cpp.orig
+++ components/bsa/bsa_file.cpp
@@ -26,6 +26,7 @@
 #include <components/files/constrainedfilestream.hpp>
 
 #include <cassert>
+#include <algorithm>
 
 #include <boost/filesystem/path.hpp>
 #include <boost/filesystem/fstream.hpp>
