[build] remove CoreFoundation dependency