Index: common/CMakeLists.txt
--- common/CMakeLists.txt.orig
+++ common/CMakeLists.txt
@@ -648,7 +648,7 @@ target_include_directories( common PUBLIC
     $<TARGET_PROPERTY:pegtl,INTERFACE_INCLUDE_DIRECTORIES>
     )
 
-target_include_directories( common SYSTEM PUBLIC
+target_include_directories( common PUBLIC
     $<TARGET_PROPERTY:nanodbc,INTERFACE_INCLUDE_DIRECTORIES>
     )
 
@@ -874,4 +874,4 @@ make_lexer_export(
 # This one gets made only when testing.
 # to build it, first enable #define STAND_ALONE at top of dsnlexer.cpp
 add_executable( dsntest EXCLUDE_FROM_ALL dsnlexer.cpp )
-target_link_libraries( dsntest common ${wxWidgets_LIBRARIES} rt )
+target_link_libraries( dsntest common ${wxWidgets_LIBRARIES} )
