Add a configure option to pass -std=c++11 on the command line.