modified and cleaned some files to build RIOT for chronos