fixing Makefile for Ceres compilation