compile on linux, -std=c++11