Fix remaining compiling errors in moses-learning