missing include-dirs or library-dirs is only a warning now (#4104)