Move conditionals inside target_defaults.