slight cleanup after removing APR

Turned out we were indirectly depending on stdarg.h, so adding that as a direct
dependency instead.

Also, there was one mention of APR_SUCCESS, which I simply replaced by 0 and
an explanatory comment.