Fix travis compilation with osx+qt5

Homebrew currently installs qt 5.4.0