This is needed to avoid passing flags that are supported by the compiler but cause warnings to be emitted.
CMAKE_INSTALL_LIBDIR