Rts compilation

You might want to just cherrypick a couple of these or take the whole set.