Merge pull request #207 from kanoi/apibuf api.c replace BUFSIZ (linux/windows have different values)