fix toolchain includes, how system.sh detects compiler, fix compiler project build