The setting is BUILD_LIBRARY_FOR_DISTRIBUTION. Singular not plural. I was running into this as well and just coded it up.
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: