Hi Heiko,
Although I do not have access to Debian 8.5 to try, the problem appears to be in the ./configure routine of the APR library itself.
Looking at the APR code, in particular, the definition of apr_os_uuid_get() in apr/misc/unix/rand.c, it looks like you somehow have APR_HAS_OS_UUID defined in apr/include/apr.h, while having both HAVE_UUID_CREATE and HAVE_UUID_GENERATE undefined in apr/include/arch/unix/apr_private.h.
In brief, I believe if you install the uuid development library and try to build the dependencies afterwards, the problem will be solved.