added --enable-debug configure option