Otherwise it can happen that these are built as shared depending on the options passed to CMake, which obviously isn't intended.