fixing detection of COMPILER_ARM_PATH/COMPILER_SIM_PATH