Making surf compile again with rt.