Debug configuration added in configure script; todo: fix some C files.