Adds -g flag in defaults.rb to enable debugging symbols

Often when I have a segfault during a test run it's useful to run the test executable in gdb. This just enables the debugging symbols to make the debugging more useful.