Do not add CXXFLAGS for stb_image