Makefile: add optimization flags

Change-Id: Ia4ddad68f82d13e3dd94b9d1cc49f5b10fe071b4