GCC/CLang: fix build with experimental compiler flags

Change-Id: Iae56847d585e0a6ddfe9562e36ec9da9fcbb519f