fix platform deps