cpp, qt: Handle modified includedir installation