Add c++11 flags to configure.ac; Include <algorithm> for std::sort.
Correct init of end_date_ in initializer list.