Use only ruby 1.8 compatible syntax in cookbook

fixes #12