[fix #40] use rimraf to remove folder x-platform