Add check to ensure released code builds expected target