Fixed missing #if SDL version 2 in a mac-specific bit in main.cpp.