Fix building as c89