Use weak dependency export if available