Add --disable-check-permissions to ./configure
After applying the patch, run "autoheader -f ; autoconf"
This patch fixes an issue inside Docker and will not affect other builds.