add before_install hook and remove node 0.10