Move some common tools from portme.mak to common.make

move `rm` and `mkdir`