commented off node availability check in build.sh;
added externs for release build