use buildcache if USE_BUILDCACHE=1

Change-Id: I742eed1095302556285e2b602d9fa22eed9c08e6