Add --enable-debug-build option to configure