Fix node version check

There was a minor typo in your version checking. The 2 methods are removed FROM version 0.8.x. Currently the build breaks with node version 0.9.x. This pull-request fixes it.