Add platform as dependency