Fix build with --with-password-encryption=old