Add platform definitions (and update packaging script)