Fixed compilation, resulting rock segfaults