Remove use of target_link_options which was introduced in CMake 3.13
However, target_link_libraries also supports link flags, which is available for declared CMake version 3.7
Alternatively, we could require CMake 3.13 instead when testing. However, I would prefer to be consistent in the required CMake version.