Minimal directives to secure --without-wallet

This compiles and works with with --without-wallet.