Fix a bug. Can't compile on ubuntu 13.4