fix makefile for ocp-index