Detecting package architecture.