Fix operator precedence bug

Would fail with "undefined method \`empty?' for nil:NilClass" if `@build_settings` was `nil`.

I prefer explicit "old school" operators in this case, but it could also work reversing it: `... unless @build_settings.empty? if @build_settings`