Fixed if_ruby.c for compilation without Ruby.framework