fixed node 0.6 compat and added globally installed gear check