Fix makefile for block