rts: Fix CPP linter issues