Modifications made in order to compile correctly when DMAXMIND is not
set