rm conditional platform if