core: use module platform for routine uname