Fix NTS build