Optimize android cmake file.