fix, don't use gcc extension typeof

Signed-off-by: Sebastian Freundt <freundt@ga-group.nl>