move to before_install to avoid rubyisms