An internal slot does not allow you to place any modification into that slot.
Something that is "built into the weapon" means that it is not built onto the weapon as in external.
The rules spell out what slots accessories can go into which slots and in the case of a folding stock it specifically says it must be installed
in the stock slot.