Check for toolchain presence and compile if necessary.