Call me cynical - but I'd be very wary of taking Foucault's comments about his own work at face value. He could just be saying this to irritate the predominantly Hegelian, marxist academics in French academia at the time. Foucault is many good things - but he's generally very opaque about his influences. Or, at least, there are many very obvious influences he never talks about.