Use -std=c++1y flag to workaround initialized lambda captures are a C++1y extension warning