Ensure Ruby 1.8 syntax is supported

Unfortunately, Amazon's OpsWorks forces us to use REE 1.8.7 for Chef, so I needed to make these two minor changes to make this cookbook compatible.