use -gdwarf-2 when using -g + gcc 4.8
Signed-off-by: Paul Beeler <sparksco@gmail.com>