From Evolutionary Epistemology to an Extended Evolutionary Synthesis