fixing some issues with NT2_MODULES_GLOBAL and tools