Fix SDL-related build breakages when not building the client.