converted to use xcconfigs

see https://github.com/binaryage/badev