Remove unnecessary defines in package targets.