Set -std=c++11 flag regardless of whether Boost is found.