Build issue: GCC 4.8 bug (#693)
Build issue: GCC 4.8 bug (#693)

Class template inheritance doesn't work well with function-local types
Move class definition to global scope

Signed-off-by: Serov, Vladimir <cc20f5e02d22c01bebcb5dc46acf0986271b6ca7@intel.com>
oneapi-src/oneTBB,oneapi-src/oneTBB,oneapi-src/oneTBB,oneapi-src/oneTBB