Explicitly declare the std namespace for min and max in NDSSystem.cpp