fixing macosx SDL build