added a build cache implementation to build_brala