improved flags in Makefile