This is already being done (and done better, compare discussion) here: https://github.com/RIOT-OS/RIOT/pull/922/files#diff-b747c2b7a14865317ded7a8634899f6cR72