add flag to core makefile