Fix package deployment when using real platforms