small fix for c code in zimlib OSX