Avoid calls to Proc#bind (deprecated in Rails 4.x) when instance_exec available