add --enable-debug to configure