makefile: gcc compat

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