Update Travis.sh

Use optimize so that Qt does not get rebuilt on OS X which leads to a Travis failure