Fix condition for nodejs extension loading