cleanup some compiler flags

Change-Id: Ie8dd1cd9269b8eb65eebc7c7d85b3da65ad3f0db