Rename --enable-maintainer-mode configure option as --enable-werror
Add --enable-debug configure option to define DEBUGBUILD macro