Fixed result_of<Lambda> to work on GCC 4.6-4.8.