Added os detection to access the correct node binary