more fighting with autoconf's cache mechanism

Change-Id: I0450706d8e4f2e3d296192635de9776b73c454b4