Patch backported from upstream. Was only noticed on musl and freebsd clients. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=475707 Fixes github issue #1692 Signed-off-by: Karl Palsson <karlp@remake.is>