Remove trailing slashes from include paths. Some versions of mingw don't like them.