Fixed compilation of sinks