Add `cpp` files in extensions to .gitignore