Fix Mac build with SDL