Added some flags for compiler

Change-Id: I54de111d02194fb68ef8beba77e9456b75dfdd2e