Fix flags for makefile