[travis] use make generator both on linux and os x, and use Xcode only on os x