node sdk fix build errors