[hack] Handle build path for cache