Exit cmake with error if xrandr library was not found.