Protect against duplicate source or include dirs