fix macruby nightly, fix #1584