Mac travis

This request will eventually allow building mac osx on travis (at least with qmake). Don't merge yet.