This seems to be a change in the APR api, APR_BRIGADE_FOREACH was already deprecated and now is gone. The same for 'apr_filename_of_pathname'.
You can read this thread: http://marc2.theaimsgroup.com/?l=apache-modules&m=114797734209756&w=2 -- Martín Ferrari