Fix standaloneify.rb crashes on ruby-2.x
Authored by: kimuraw 2014-07-03
Parent: [r2581]
Child: [r2583]