Add #ifdef AH_DEBUG to wrap variable definitions that are only
used during debugging.