Fixed compilation of Adaptive Control