Allow platform-specific packageId and version (fixes #432)