foc gcc < 4.8 lambda function did not compile