sorry... the last update was broken. I've uploaded a new version to:
ftp://ftp.openldap.org/incoming/rieger-changelog-2.4.21-pkg-100423.tgz
this version compiles and runs smoothly with 2.4.21. Also I fixed a minor memory leak. Any feedback is welcome ;)