Put this whole thing in a `if ENV.compiler == :clang && MacOS.version >= :mavericks` block and then put `if build.stable? ... else` inside it.