Only define MAX_PATH if it is not defined already.
This gets rid of a lot warnings when compiling with mingw.