Make sure you have no uncommitted changes in your openafs git work directory (or git clone to a separate directory) then,
git checkout openafs-stable-1_6_18 && git clean -q -f -d -x && ./regen.sh && ./configure --enable-debug --enable-transarc-paths && make -j6 aklog
sudo cp ./src/aklog/aklog /usr/local/bin/aklog-1.6.18