Updated build-rtems.sh script to install the patmos toolchain and rtems