Fix build when cups is not installed.