undefined TOOLCHAINS_DIR fixed