RUBY-530 Fix compile warnings on C90