Switch out cattr_accessor

Not supported < Ruby 1.9.2
Test on 1.9.3 too