Check if C++ 17 was available when building package

has_cxx17()