Moved FlushCache to buildstore