Makefile: optimize compile flags