Correct for earlier gcc compiler versions.

Earlier gcc compilers do not allow creation of an instance in the return statement.