remove -O2 option when configured as debug
GCC specific workaround for getTime lamda function call