add special compiler flags for gcc 4.8.1