Fix clean commands when using build directory with gnu backend.

The files with auto-cleaned extensions are generated in the build directory,
not the source one, so remove them from there.

---

This is hopefully less controversial and is independent of the other changes: just remove the files in the correct directory.