R: fix building.