fix: Platforms restored from both dev and normal dependencies. (#874)