Configuring OSX/Ubuntu builds on Travis