Attempts to work around cmake stubbornly refusing to take CMAKE_C*_FLAGS_* settings into account