Fixed syntax compatibility for pre 1.9 rubies