Some minor documentation cleanups were made at the same time.
other compilers than MinGW. This may hurt readability of the API headers slightly, but I don't know any better way to do this.