Only use binding_of_caller on ruby platform.