Apparently the clang parser was having trouble with the nested ternary
operator on C++ which was the cause of the FreeBSD 10+ failures. Expanding
it to a condition ladder pleased clang.
A couple of libraries were used but not explicitly specified to the
linker before: libsolid and libX11, so let's correct that too.