Dynamically allocate build log memory