fix stupid c89 for windows