Add gcc "-g" flags in debug configuration.