corrections to headers/apc_cache.c in zts mode