get rid of the ugly policy callbacks while we're breaking the ABI, add new pool_set_custom_vendorcheck function