changed build to use rely on xcconfig like official OF dist