Improve deployment target handling in clang