Temporary workaround for GCC 'no lambda argument packs' bug