Remove unnecessary platforms