fix: gcc 4.6 compat

Signed-off-by: Humberto Borba <humberos@gmail.com>