Fix small compilation issues

* Add missing “assert.h” file header inclusion
* Do not define ARRAY_SIZE if it is already defined
* “mpconfigport.h” is a library header, not a system header
Ok, here we already had a discussion about what to do.  The problem is that the change breaks the windows port.