change to gcc 4.7, addition of lru free code