add some more compiler flags

Change-Id: I66719396de13323dcd8c4b237b73546ad182da14