fix bench warning and flags for gcc 4.8.1