Fixed scripts to build the Patmos toolchain for RTEMS.