Updated GCC and Python (toolchain only) version and other related fixes.