[asan] Fix Android configure/make build.

Mirror recent cmake changes in the configure/make build system.