add --enable-debug for configure

./configure --debug-enable  will create a "debug" build, with all debug symbols and no optimizations.