Fix compile with -std=c++11