Added the missing debug flags for gcc.