Add full main signature to fix $(CC) -Werror