added a few things to get a beta nodejs version working