See upstream https://github.com/MaxKellermann/MPD/pull/24, not clear if this will be merged upstream as the author has been quite uncooperative. Github patch URL (https://github.com/MaxKellermann/MPD/pull/24.patch) sadly does not work for this.