ignore warnings to build using gcc 4.7

Change-Id: Id3f45766860820eff77d4d3ab9acc23ae568a91e