Fix not getting all include directories from the target.