Remove platforms directory from source