Attempt at fixing MAX_PATH issues for mingw.